import { Button, Form, Input } from 'antd';
import { useNavigate } from 'react-router-dom';
const Home1=()=>{
    const navigate=useNavigate();
    const handleGo=()=>{
        console.log('点击了');
        navigate('/homeList/home11')
    }
    return (
        <div>
            <h1>Home111111</h1>
            <Button onClick={handleGo}>去2222</Button>
        </div>
    )
}

export default Home1